package cn.com.cetccst.compliancecheck;

import android.content.Context;

import cn.com.cetccst.compliancecheck.checker.CheckerManager;
import cn.com.cetccst.compliancecheck.violation.ActionManager;

public class ComplianceCheckManager {

    private static ComplianceCheckManager instance;

    public static void initialize(Context context) {
        if (instance == null) {
            instance = new ComplianceCheckManager(context);
        }
    }

    public static ComplianceCheckManager getInstance() {
        return instance;
    }

    private ComplianceCheckManager(Context context) {
        CheckerManager.initialize(context);
        ActionManager.initialize(context);
    }


}
